const task = {
  state: {
    taskShowTypeOption: [], // 任务类型options
    typeOptions: [], // 租户的下拉options
    user: {}, // 当前用户
    requireMap: {
      // 是否的字典
      "1": "是",
      "0": "否"
    }
  },
  mutations: {
    setTaskShowTypeOption(state, data) {
      // console.log(data);
      state.taskShowTypeOption = data;
    },
    setTypeOptions(state, data) {
      state.typeOptions = data;
    },
    setUser(state, data) {
      state.user = data;
    }
  }
};
export default task;
